package org.example.vo;


import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import com.aliyun.oss.model.ObjectMetadata;
import lombok.Data;
import org.example.util.uploadUtil;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
import java.util.UUID;


//配置类
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
@Data
public class UploadProperties {


    private String endpoint;
    private String bucketName;
    private String accessKeyId;
    private String accessKeySecret;







}
